#include "Phedra.h"

Phedra::Phedra(void)
{
	Instrument::Instrument();
	Resolution = 0.1;
	DigitalOffset = 2048;
	DigitalMax = 4096;
	DigitalMin = 0;
	
	MyName = _("Phedra (SXT-Telemed srl)");
	Initialize(8,256,20);
}

Phedra::~Phedra(void)
{
	
}

void* Phedra::Entry(void)
{
	SampleStruct	Signal;
	memset(&Signal,0,sizeof(Signal));
	
	Esci = false;
	while(!Esci)
	{
		if(IsRunning)
		{
		}
	}

	StopDevice();
	Sleep(100);
	
	return NULL;
}
void Phedra::StartDevice(wxString FileName,wxString FilePath,bool File)
{
}

void Phedra::StopDevice(void)
{
	Instrument::StopDevice();
}
int Phedra::OpenPort(const char *PortCom, const char *OpenVal2, const char *OpenVal3)
{
	return 1;
}